package com.zhongwang.mms.gen.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class HMarkExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public HMarkExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andMarIdIsNull() {
            addCriterion("mar_id is null");
            return (Criteria) this;
        }

        public Criteria andMarIdIsNotNull() {
            addCriterion("mar_id is not null");
            return (Criteria) this;
        }

        public Criteria andMarIdEqualTo(Integer value) {
            addCriterion("mar_id =", value, "marId");
            return (Criteria) this;
        }

        public Criteria andMarIdNotEqualTo(Integer value) {
            addCriterion("mar_id <>", value, "marId");
            return (Criteria) this;
        }

        public Criteria andMarIdGreaterThan(Integer value) {
            addCriterion("mar_id >", value, "marId");
            return (Criteria) this;
        }

        public Criteria andMarIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("mar_id >=", value, "marId");
            return (Criteria) this;
        }

        public Criteria andMarIdLessThan(Integer value) {
            addCriterion("mar_id <", value, "marId");
            return (Criteria) this;
        }

        public Criteria andMarIdLessThanOrEqualTo(Integer value) {
            addCriterion("mar_id <=", value, "marId");
            return (Criteria) this;
        }

        public Criteria andMarIdIn(List<Integer> values) {
            addCriterion("mar_id in", values, "marId");
            return (Criteria) this;
        }

        public Criteria andMarIdNotIn(List<Integer> values) {
            addCriterion("mar_id not in", values, "marId");
            return (Criteria) this;
        }

        public Criteria andMarIdBetween(Integer value1, Integer value2) {
            addCriterion("mar_id between", value1, value2, "marId");
            return (Criteria) this;
        }

        public Criteria andMarIdNotBetween(Integer value1, Integer value2) {
            addCriterion("mar_id not between", value1, value2, "marId");
            return (Criteria) this;
        }

        public Criteria andMarBeforeItyIdIsNull() {
            addCriterion("mar_before_ity_id is null");
            return (Criteria) this;
        }

        public Criteria andMarBeforeItyIdIsNotNull() {
            addCriterion("mar_before_ity_id is not null");
            return (Criteria) this;
        }

        public Criteria andMarBeforeItyIdEqualTo(Integer value) {
            addCriterion("mar_before_ity_id =", value, "marBeforeItyId");
            return (Criteria) this;
        }

        public Criteria andMarBeforeItyIdNotEqualTo(Integer value) {
            addCriterion("mar_before_ity_id <>", value, "marBeforeItyId");
            return (Criteria) this;
        }

        public Criteria andMarBeforeItyIdGreaterThan(Integer value) {
            addCriterion("mar_before_ity_id >", value, "marBeforeItyId");
            return (Criteria) this;
        }

        public Criteria andMarBeforeItyIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("mar_before_ity_id >=", value, "marBeforeItyId");
            return (Criteria) this;
        }

        public Criteria andMarBeforeItyIdLessThan(Integer value) {
            addCriterion("mar_before_ity_id <", value, "marBeforeItyId");
            return (Criteria) this;
        }

        public Criteria andMarBeforeItyIdLessThanOrEqualTo(Integer value) {
            addCriterion("mar_before_ity_id <=", value, "marBeforeItyId");
            return (Criteria) this;
        }

        public Criteria andMarBeforeItyIdIn(List<Integer> values) {
            addCriterion("mar_before_ity_id in", values, "marBeforeItyId");
            return (Criteria) this;
        }

        public Criteria andMarBeforeItyIdNotIn(List<Integer> values) {
            addCriterion("mar_before_ity_id not in", values, "marBeforeItyId");
            return (Criteria) this;
        }

        public Criteria andMarBeforeItyIdBetween(Integer value1, Integer value2) {
            addCriterion("mar_before_ity_id between", value1, value2, "marBeforeItyId");
            return (Criteria) this;
        }

        public Criteria andMarBeforeItyIdNotBetween(Integer value1, Integer value2) {
            addCriterion("mar_before_ity_id not between", value1, value2, "marBeforeItyId");
            return (Criteria) this;
        }

        public Criteria andMarAfterItyIdIsNull() {
            addCriterion("mar_after_ity_id is null");
            return (Criteria) this;
        }

        public Criteria andMarAfterItyIdIsNotNull() {
            addCriterion("mar_after_ity_id is not null");
            return (Criteria) this;
        }

        public Criteria andMarAfterItyIdEqualTo(Integer value) {
            addCriterion("mar_after_ity_id =", value, "marAfterItyId");
            return (Criteria) this;
        }

        public Criteria andMarAfterItyIdNotEqualTo(Integer value) {
            addCriterion("mar_after_ity_id <>", value, "marAfterItyId");
            return (Criteria) this;
        }

        public Criteria andMarAfterItyIdGreaterThan(Integer value) {
            addCriterion("mar_after_ity_id >", value, "marAfterItyId");
            return (Criteria) this;
        }

        public Criteria andMarAfterItyIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("mar_after_ity_id >=", value, "marAfterItyId");
            return (Criteria) this;
        }

        public Criteria andMarAfterItyIdLessThan(Integer value) {
            addCriterion("mar_after_ity_id <", value, "marAfterItyId");
            return (Criteria) this;
        }

        public Criteria andMarAfterItyIdLessThanOrEqualTo(Integer value) {
            addCriterion("mar_after_ity_id <=", value, "marAfterItyId");
            return (Criteria) this;
        }

        public Criteria andMarAfterItyIdIn(List<Integer> values) {
            addCriterion("mar_after_ity_id in", values, "marAfterItyId");
            return (Criteria) this;
        }

        public Criteria andMarAfterItyIdNotIn(List<Integer> values) {
            addCriterion("mar_after_ity_id not in", values, "marAfterItyId");
            return (Criteria) this;
        }

        public Criteria andMarAfterItyIdBetween(Integer value1, Integer value2) {
            addCriterion("mar_after_ity_id between", value1, value2, "marAfterItyId");
            return (Criteria) this;
        }

        public Criteria andMarAfterItyIdNotBetween(Integer value1, Integer value2) {
            addCriterion("mar_after_ity_id not between", value1, value2, "marAfterItyId");
            return (Criteria) this;
        }

        public Criteria andMarDateIsNull() {
            addCriterion("mar_date is null");
            return (Criteria) this;
        }

        public Criteria andMarDateIsNotNull() {
            addCriterion("mar_date is not null");
            return (Criteria) this;
        }

        public Criteria andMarDateEqualTo(Date value) {
            addCriterion("mar_date =", value, "marDate");
            return (Criteria) this;
        }

        public Criteria andMarDateNotEqualTo(Date value) {
            addCriterion("mar_date <>", value, "marDate");
            return (Criteria) this;
        }

        public Criteria andMarDateGreaterThan(Date value) {
            addCriterion("mar_date >", value, "marDate");
            return (Criteria) this;
        }

        public Criteria andMarDateGreaterThanOrEqualTo(Date value) {
            addCriterion("mar_date >=", value, "marDate");
            return (Criteria) this;
        }

        public Criteria andMarDateLessThan(Date value) {
            addCriterion("mar_date <", value, "marDate");
            return (Criteria) this;
        }

        public Criteria andMarDateLessThanOrEqualTo(Date value) {
            addCriterion("mar_date <=", value, "marDate");
            return (Criteria) this;
        }

        public Criteria andMarDateIn(List<Date> values) {
            addCriterion("mar_date in", values, "marDate");
            return (Criteria) this;
        }

        public Criteria andMarDateNotIn(List<Date> values) {
            addCriterion("mar_date not in", values, "marDate");
            return (Criteria) this;
        }

        public Criteria andMarDateBetween(Date value1, Date value2) {
            addCriterion("mar_date between", value1, value2, "marDate");
            return (Criteria) this;
        }

        public Criteria andMarDateNotBetween(Date value1, Date value2) {
            addCriterion("mar_date not between", value1, value2, "marDate");
            return (Criteria) this;
        }

        public Criteria andMarNumIsNull() {
            addCriterion("mar_num is null");
            return (Criteria) this;
        }

        public Criteria andMarNumIsNotNull() {
            addCriterion("mar_num is not null");
            return (Criteria) this;
        }

        public Criteria andMarNumEqualTo(Double value) {
            addCriterion("mar_num =", value, "marNum");
            return (Criteria) this;
        }

        public Criteria andMarNumNotEqualTo(Double value) {
            addCriterion("mar_num <>", value, "marNum");
            return (Criteria) this;
        }

        public Criteria andMarNumGreaterThan(Double value) {
            addCriterion("mar_num >", value, "marNum");
            return (Criteria) this;
        }

        public Criteria andMarNumGreaterThanOrEqualTo(Double value) {
            addCriterion("mar_num >=", value, "marNum");
            return (Criteria) this;
        }

        public Criteria andMarNumLessThan(Double value) {
            addCriterion("mar_num <", value, "marNum");
            return (Criteria) this;
        }

        public Criteria andMarNumLessThanOrEqualTo(Double value) {
            addCriterion("mar_num <=", value, "marNum");
            return (Criteria) this;
        }

        public Criteria andMarNumIn(List<Double> values) {
            addCriterion("mar_num in", values, "marNum");
            return (Criteria) this;
        }

        public Criteria andMarNumNotIn(List<Double> values) {
            addCriterion("mar_num not in", values, "marNum");
            return (Criteria) this;
        }

        public Criteria andMarNumBetween(Double value1, Double value2) {
            addCriterion("mar_num between", value1, value2, "marNum");
            return (Criteria) this;
        }

        public Criteria andMarNumNotBetween(Double value1, Double value2) {
            addCriterion("mar_num not between", value1, value2, "marNum");
            return (Criteria) this;
        }

        public Criteria andMarPersonIsNull() {
            addCriterion("mar_person is null");
            return (Criteria) this;
        }

        public Criteria andMarPersonIsNotNull() {
            addCriterion("mar_person is not null");
            return (Criteria) this;
        }

        public Criteria andMarPersonEqualTo(String value) {
            addCriterion("mar_person =", value, "marPerson");
            return (Criteria) this;
        }

        public Criteria andMarPersonNotEqualTo(String value) {
            addCriterion("mar_person <>", value, "marPerson");
            return (Criteria) this;
        }

        public Criteria andMarPersonGreaterThan(String value) {
            addCriterion("mar_person >", value, "marPerson");
            return (Criteria) this;
        }

        public Criteria andMarPersonGreaterThanOrEqualTo(String value) {
            addCriterion("mar_person >=", value, "marPerson");
            return (Criteria) this;
        }

        public Criteria andMarPersonLessThan(String value) {
            addCriterion("mar_person <", value, "marPerson");
            return (Criteria) this;
        }

        public Criteria andMarPersonLessThanOrEqualTo(String value) {
            addCriterion("mar_person <=", value, "marPerson");
            return (Criteria) this;
        }

        public Criteria andMarPersonLike(String value) {
            addCriterion("mar_person like", value, "marPerson");
            return (Criteria) this;
        }

        public Criteria andMarPersonNotLike(String value) {
            addCriterion("mar_person not like", value, "marPerson");
            return (Criteria) this;
        }

        public Criteria andMarPersonIn(List<String> values) {
            addCriterion("mar_person in", values, "marPerson");
            return (Criteria) this;
        }

        public Criteria andMarPersonNotIn(List<String> values) {
            addCriterion("mar_person not in", values, "marPerson");
            return (Criteria) this;
        }

        public Criteria andMarPersonBetween(String value1, String value2) {
            addCriterion("mar_person between", value1, value2, "marPerson");
            return (Criteria) this;
        }

        public Criteria andMarPersonNotBetween(String value1, String value2) {
            addCriterion("mar_person not between", value1, value2, "marPerson");
            return (Criteria) this;
        }

        public Criteria andMariRemarkIsNull() {
            addCriterion("mari_remark is null");
            return (Criteria) this;
        }

        public Criteria andMariRemarkIsNotNull() {
            addCriterion("mari_remark is not null");
            return (Criteria) this;
        }

        public Criteria andMariRemarkEqualTo(String value) {
            addCriterion("mari_remark =", value, "mariRemark");
            return (Criteria) this;
        }

        public Criteria andMariRemarkNotEqualTo(String value) {
            addCriterion("mari_remark <>", value, "mariRemark");
            return (Criteria) this;
        }

        public Criteria andMariRemarkGreaterThan(String value) {
            addCriterion("mari_remark >", value, "mariRemark");
            return (Criteria) this;
        }

        public Criteria andMariRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("mari_remark >=", value, "mariRemark");
            return (Criteria) this;
        }

        public Criteria andMariRemarkLessThan(String value) {
            addCriterion("mari_remark <", value, "mariRemark");
            return (Criteria) this;
        }

        public Criteria andMariRemarkLessThanOrEqualTo(String value) {
            addCriterion("mari_remark <=", value, "mariRemark");
            return (Criteria) this;
        }

        public Criteria andMariRemarkLike(String value) {
            addCriterion("mari_remark like", value, "mariRemark");
            return (Criteria) this;
        }

        public Criteria andMariRemarkNotLike(String value) {
            addCriterion("mari_remark not like", value, "mariRemark");
            return (Criteria) this;
        }

        public Criteria andMariRemarkIn(List<String> values) {
            addCriterion("mari_remark in", values, "mariRemark");
            return (Criteria) this;
        }

        public Criteria andMariRemarkNotIn(List<String> values) {
            addCriterion("mari_remark not in", values, "mariRemark");
            return (Criteria) this;
        }

        public Criteria andMariRemarkBetween(String value1, String value2) {
            addCriterion("mari_remark between", value1, value2, "mariRemark");
            return (Criteria) this;
        }

        public Criteria andMariRemarkNotBetween(String value1, String value2) {
            addCriterion("mari_remark not between", value1, value2, "mariRemark");
            return (Criteria) this;
        }

        public Criteria andMarAuditStatusIsNull() {
            addCriterion("mar_audit_status is null");
            return (Criteria) this;
        }

        public Criteria andMarAuditStatusIsNotNull() {
            addCriterion("mar_audit_status is not null");
            return (Criteria) this;
        }

        public Criteria andMarAuditStatusEqualTo(Integer value) {
            addCriterion("mar_audit_status =", value, "marAuditStatus");
            return (Criteria) this;
        }

        public Criteria andMarAuditStatusNotEqualTo(Integer value) {
            addCriterion("mar_audit_status <>", value, "marAuditStatus");
            return (Criteria) this;
        }

        public Criteria andMarAuditStatusGreaterThan(Integer value) {
            addCriterion("mar_audit_status >", value, "marAuditStatus");
            return (Criteria) this;
        }

        public Criteria andMarAuditStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("mar_audit_status >=", value, "marAuditStatus");
            return (Criteria) this;
        }

        public Criteria andMarAuditStatusLessThan(Integer value) {
            addCriterion("mar_audit_status <", value, "marAuditStatus");
            return (Criteria) this;
        }

        public Criteria andMarAuditStatusLessThanOrEqualTo(Integer value) {
            addCriterion("mar_audit_status <=", value, "marAuditStatus");
            return (Criteria) this;
        }

        public Criteria andMarAuditStatusIn(List<Integer> values) {
            addCriterion("mar_audit_status in", values, "marAuditStatus");
            return (Criteria) this;
        }

        public Criteria andMarAuditStatusNotIn(List<Integer> values) {
            addCriterion("mar_audit_status not in", values, "marAuditStatus");
            return (Criteria) this;
        }

        public Criteria andMarAuditStatusBetween(Integer value1, Integer value2) {
            addCriterion("mar_audit_status between", value1, value2, "marAuditStatus");
            return (Criteria) this;
        }

        public Criteria andMarAuditStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("mar_audit_status not between", value1, value2, "marAuditStatus");
            return (Criteria) this;
        }

        public Criteria andMarStatusIsNull() {
            addCriterion("mar_status is null");
            return (Criteria) this;
        }

        public Criteria andMarStatusIsNotNull() {
            addCriterion("mar_status is not null");
            return (Criteria) this;
        }

        public Criteria andMarStatusEqualTo(Integer value) {
            addCriterion("mar_status =", value, "marStatus");
            return (Criteria) this;
        }

        public Criteria andMarStatusNotEqualTo(Integer value) {
            addCriterion("mar_status <>", value, "marStatus");
            return (Criteria) this;
        }

        public Criteria andMarStatusGreaterThan(Integer value) {
            addCriterion("mar_status >", value, "marStatus");
            return (Criteria) this;
        }

        public Criteria andMarStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("mar_status >=", value, "marStatus");
            return (Criteria) this;
        }

        public Criteria andMarStatusLessThan(Integer value) {
            addCriterion("mar_status <", value, "marStatus");
            return (Criteria) this;
        }

        public Criteria andMarStatusLessThanOrEqualTo(Integer value) {
            addCriterion("mar_status <=", value, "marStatus");
            return (Criteria) this;
        }

        public Criteria andMarStatusIn(List<Integer> values) {
            addCriterion("mar_status in", values, "marStatus");
            return (Criteria) this;
        }

        public Criteria andMarStatusNotIn(List<Integer> values) {
            addCriterion("mar_status not in", values, "marStatus");
            return (Criteria) this;
        }

        public Criteria andMarStatusBetween(Integer value1, Integer value2) {
            addCriterion("mar_status between", value1, value2, "marStatus");
            return (Criteria) this;
        }

        public Criteria andMarStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("mar_status not between", value1, value2, "marStatus");
            return (Criteria) this;
        }

        public Criteria andMarNeedDeptIsNull() {
            addCriterion("mar_need_dept is null");
            return (Criteria) this;
        }

        public Criteria andMarNeedDeptIsNotNull() {
            addCriterion("mar_need_dept is not null");
            return (Criteria) this;
        }

        public Criteria andMarNeedDeptEqualTo(Integer value) {
            addCriterion("mar_need_dept =", value, "marNeedDept");
            return (Criteria) this;
        }

        public Criteria andMarNeedDeptNotEqualTo(Integer value) {
            addCriterion("mar_need_dept <>", value, "marNeedDept");
            return (Criteria) this;
        }

        public Criteria andMarNeedDeptGreaterThan(Integer value) {
            addCriterion("mar_need_dept >", value, "marNeedDept");
            return (Criteria) this;
        }

        public Criteria andMarNeedDeptGreaterThanOrEqualTo(Integer value) {
            addCriterion("mar_need_dept >=", value, "marNeedDept");
            return (Criteria) this;
        }

        public Criteria andMarNeedDeptLessThan(Integer value) {
            addCriterion("mar_need_dept <", value, "marNeedDept");
            return (Criteria) this;
        }

        public Criteria andMarNeedDeptLessThanOrEqualTo(Integer value) {
            addCriterion("mar_need_dept <=", value, "marNeedDept");
            return (Criteria) this;
        }

        public Criteria andMarNeedDeptIn(List<Integer> values) {
            addCriterion("mar_need_dept in", values, "marNeedDept");
            return (Criteria) this;
        }

        public Criteria andMarNeedDeptNotIn(List<Integer> values) {
            addCriterion("mar_need_dept not in", values, "marNeedDept");
            return (Criteria) this;
        }

        public Criteria andMarNeedDeptBetween(Integer value1, Integer value2) {
            addCriterion("mar_need_dept between", value1, value2, "marNeedDept");
            return (Criteria) this;
        }

        public Criteria andMarNeedDeptNotBetween(Integer value1, Integer value2) {
            addCriterion("mar_need_dept not between", value1, value2, "marNeedDept");
            return (Criteria) this;
        }

        public Criteria andMarProCodeIsNull() {
            addCriterion("mar_pro_code is null");
            return (Criteria) this;
        }

        public Criteria andMarProCodeIsNotNull() {
            addCriterion("mar_pro_code is not null");
            return (Criteria) this;
        }

        public Criteria andMarProCodeEqualTo(String value) {
            addCriterion("mar_pro_code =", value, "marProCode");
            return (Criteria) this;
        }

        public Criteria andMarProCodeNotEqualTo(String value) {
            addCriterion("mar_pro_code <>", value, "marProCode");
            return (Criteria) this;
        }

        public Criteria andMarProCodeGreaterThan(String value) {
            addCriterion("mar_pro_code >", value, "marProCode");
            return (Criteria) this;
        }

        public Criteria andMarProCodeGreaterThanOrEqualTo(String value) {
            addCriterion("mar_pro_code >=", value, "marProCode");
            return (Criteria) this;
        }

        public Criteria andMarProCodeLessThan(String value) {
            addCriterion("mar_pro_code <", value, "marProCode");
            return (Criteria) this;
        }

        public Criteria andMarProCodeLessThanOrEqualTo(String value) {
            addCriterion("mar_pro_code <=", value, "marProCode");
            return (Criteria) this;
        }

        public Criteria andMarProCodeLike(String value) {
            addCriterion("mar_pro_code like", value, "marProCode");
            return (Criteria) this;
        }

        public Criteria andMarProCodeNotLike(String value) {
            addCriterion("mar_pro_code not like", value, "marProCode");
            return (Criteria) this;
        }

        public Criteria andMarProCodeIn(List<String> values) {
            addCriterion("mar_pro_code in", values, "marProCode");
            return (Criteria) this;
        }

        public Criteria andMarProCodeNotIn(List<String> values) {
            addCriterion("mar_pro_code not in", values, "marProCode");
            return (Criteria) this;
        }

        public Criteria andMarProCodeBetween(String value1, String value2) {
            addCriterion("mar_pro_code between", value1, value2, "marProCode");
            return (Criteria) this;
        }

        public Criteria andMarProCodeNotBetween(String value1, String value2) {
            addCriterion("mar_pro_code not between", value1, value2, "marProCode");
            return (Criteria) this;
        }

        public Criteria andMarDataStatusIsNull() {
            addCriterion("mar_data_status is null");
            return (Criteria) this;
        }

        public Criteria andMarDataStatusIsNotNull() {
            addCriterion("mar_data_status is not null");
            return (Criteria) this;
        }

        public Criteria andMarDataStatusEqualTo(Integer value) {
            addCriterion("mar_data_status =", value, "marDataStatus");
            return (Criteria) this;
        }

        public Criteria andMarDataStatusNotEqualTo(Integer value) {
            addCriterion("mar_data_status <>", value, "marDataStatus");
            return (Criteria) this;
        }

        public Criteria andMarDataStatusGreaterThan(Integer value) {
            addCriterion("mar_data_status >", value, "marDataStatus");
            return (Criteria) this;
        }

        public Criteria andMarDataStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("mar_data_status >=", value, "marDataStatus");
            return (Criteria) this;
        }

        public Criteria andMarDataStatusLessThan(Integer value) {
            addCriterion("mar_data_status <", value, "marDataStatus");
            return (Criteria) this;
        }

        public Criteria andMarDataStatusLessThanOrEqualTo(Integer value) {
            addCriterion("mar_data_status <=", value, "marDataStatus");
            return (Criteria) this;
        }

        public Criteria andMarDataStatusIn(List<Integer> values) {
            addCriterion("mar_data_status in", values, "marDataStatus");
            return (Criteria) this;
        }

        public Criteria andMarDataStatusNotIn(List<Integer> values) {
            addCriterion("mar_data_status not in", values, "marDataStatus");
            return (Criteria) this;
        }

        public Criteria andMarDataStatusBetween(Integer value1, Integer value2) {
            addCriterion("mar_data_status between", value1, value2, "marDataStatus");
            return (Criteria) this;
        }

        public Criteria andMarDataStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("mar_data_status not between", value1, value2, "marDataStatus");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}